import {get,post,put} from '@/http/http'

// 判断用户是否签到（签到日期）
function isSigned(date) {
  return get('/user/event/isSigned/' + date)
}

//签到
function signUp() {
  return post('/user/event/sign/1')
} 
// 返回签到列表
function getSigned() {
  return get('/user/event/isSigned/dateList')
}
export default {
  isSigned,
  signUp,
  getSigned,
}